﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.redshift
{
	// Token: 0x02000105 RID: 261
	public class TRedshiftBegin : TCustomSqlStatement
	{
		// Token: 0x06000896 RID: 2198 RVA: 0x00302382 File Offset: 0x00300582
		public TRedshiftBegin(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstredshiftBegin;
		}

		// Token: 0x06000897 RID: 2199 RVA: 0x00302396 File Offset: 0x00300596
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000898 RID: 2200 RVA: 0x003023AB File Offset: 0x003005AB
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000899 RID: 2201 RVA: 0x003023BB File Offset: 0x003005BB
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
